package com.dream.service.user.domain.entity;

import com.dream.service.user.domain.model.UserModel;

import java.io.Serializable;

/**
* Created by kangd on 2016/3/24.
*/
public class UserAttr implements Serializable{

    private String pin; //pin

    private Integer user_type; //用户类型

    private Integer user_level; //用户等级

    private Integer status_code; //状态码

    private Integer login_type; //登录类型，具体到哪个平台

    private  Integer user_score; //用户评分

    private Integer isHistoricalUser; //是否历史用户

    public UserAttr(){}

    public UserAttr(UserModel userModel){
        this.pin= userModel.getPin();
        this.user_type=userModel.getUser_type();
        this.user_level=userModel.getUser_level();
        this.status_code=userModel.getStatus_code();
        this.login_type=userModel.getLogin_type();
        this.user_score=userModel.getUser_score();
        this.isHistoricalUser=userModel.getIsHistoricalUser();
    }

    public String getPin() {
        return pin;
    }

    public void setPin(String pin) {
        this.pin = pin;
    }

    public Integer getUser_type() {
        return user_type;
    }

    public void setUser_type(Integer user_type) {
        this.user_type = user_type;
    }

    public Integer getUser_level() {
        return user_level;
    }

    public void setUser_level(Integer user_level) {
        this.user_level = user_level;
    }

    public Integer getStatus_code() {
        return status_code;
    }

    public void setStatus_code(Integer status_code) {
        this.status_code = status_code;
    }

    public Integer getLogin_type() {
        return login_type;
    }

    public void setLogin_type(Integer login_type) {
        this.login_type = login_type;
    }

    public Integer getUser_score() {
        return user_score;
    }

    public void setUser_score(Integer user_score) {
        this.user_score = user_score;
    }

    public Integer getIsHistoricalUser() {
        return isHistoricalUser;
    }

    public void setIsHistoricalUser(Integer isHistoricalUser) {
        this.isHistoricalUser = isHistoricalUser;
    }
}
